package cn.edu.sjtu.se.dslab.rhapsody.entity;

import java.io.Serializable;

public class Event implements Serializable{
	private static final long serialVersionUID = 6383765634621322097L;
	
	private String pageUri;
	private String eventUri;
	private String name;
	private String visibility;
	private String className;
	
	
	public String getPageUri() {
		return pageUri;
	}
	public void setPageUri(String pageUri) {
		this.pageUri = pageUri;
	}
	public String getEventUri() {
		return eventUri;
	}
	public void setEventUri(String eventUri) {
		this.eventUri = eventUri;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getVisibility() {
		return visibility;
	}
	public void setVisibility(String visibility) {
		this.visibility = visibility;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	
	public String getEventMethodName(){
		StringBuilder sb = new StringBuilder();
		sb.append(name).append("();");
		return sb.toString();
	}
}
